<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script src="/javascript/jquery.alerts.js" type="text/javascript"></script>
<script type="text/javascript" src="/javascript/jquery.tooltip.execute.js"></script>
<script type="text/javascript" src="/javascript/jquery.tooltip.v.1.1.js"></script>
<link href="/stylesheets/jquery.alerts.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript">
		 // JQuery Code
		$(document).ready(function() {
			$("a.toolclass").simpletooltip();						  
			$('#alertform').submit(function() {
				res=ValidateAlert()
				if (res==0) {
					jAlert("Select insert a valid number", "Attention");
					return false;
				}
					
				else return true;
			});
			return false;
		});
		function ValidateAlert() {
			if ($('#alertnum').val()=='' || $('#alertnum').val()!=parseFloat($('#alertnum').val()) || parseFloat($('#alertnum').val())=='0') return 0;
			return 1;
			
		}
</script>